sunxi: add sun7i clocks and timer support.
authorIan Campbell <[email protected]>
Mon, 5 May 2014 10:52:23 +0000 (11:52 +0100)
committerAlbert ARIBAUD <[email protected]>
Sun, 25 May 2014 14:12:12 +0000 (16:12 +0200)
commit643cf0ea027744edec9619d31cb001f3b2444099
tree41d28bccd518350da1b7012d44e1ed8d19de6c9b
parent4f7f4041c4fe8bd31d3c4404af0cb2befa760e60
sunxi: add sun7i clocks and timer support.

This patch adds the basic clocks and timer support for the Allwinner A20
(sun7i) processor. This code will not been compiled until the build is hooked
up in a later patch. It has been split out to keep the patches manageable.

Some of the code here is common to multiple sunxi subarchtectures, hence files
are named sun4i which is the earliest similar variant.

Signed-off-by: Alexandru Gagniuc <[email protected]>
Signed-off-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Emilio López <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Henrik Nordstrom <[email protected]>
Signed-off-by: Jens Kuske <[email protected]>
Signed-off-by: Luke Leighton <[email protected]>
Signed-off-by: Oliver Schinagl <[email protected]>
Signed-off-by: Ian Campbell <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Tom Cubie <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
arch/arm/cpu/armv7/sunxi/Makefile [new file with mode: 0644]
arch/arm/cpu/armv7/sunxi/clock.c [new file with mode: 0644]
arch/arm/cpu/armv7/sunxi/clock_sun4i.c [new file with mode: 0644]
arch/arm/cpu/armv7/sunxi/timer.c [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/clock.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/clock_sun4i.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/sys_proto.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/timer.h [new file with mode: 0644]